﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace QuanLy_NhaSach
{
    public partial class DanhsachVIP : Form
    {
        public DanhsachVIP()
        {
            InitializeComponent();
        }

        private void khachHangBindingNavigatorSaveItem_Click(object sender, EventArgs e)
        {
            this.Validate();
            this.khachHangBindingSource.EndEdit();
            this.tableAdapterManager.UpdateAll(this.nhaSachDataSet);

        }

        private void DanhsachVIP_Load(object sender, EventArgs e)
        {
            // TODO: This line of code loads data into the 'nhaSachDataSet.KhachHang' table. You can move, or remove it, as needed.
            //this.khachHangTableAdapter.Fill(this.nhaSachDataSet.KhachHang);
            khachHangBindingSource.DataSource = NhaSachBUS.KhachVIPBUS.LoadKhachVIP();

        }
    }
}
